package com.qianyu.entity.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qianyu.entity.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
* 请求记录表
* @TableName tb_qun_request
*/
@Data
@ApiModel(value = "请求记录表")
@TableName("tb_qun_request")
@AllArgsConstructor
@NoArgsConstructor
public class QunRequest extends BaseBean {

    /**
    * 
    */
    @NotBlank(message="[]不能为空")
    @Size(max= 43,message="编码长度不能超过43")
    @ApiModelProperty("")
    private String requestId;

    /**
    * 类型:0=领红包回调
    */
    @NotNull(message="[类型:0=领红包回调]不能为空")
    @ApiModelProperty("类型:0=领红包回调")
    private Integer type;
    /**
    * 
    */
    @Size(max= -1,message="编码长度不能超过-1")
    @ApiModelProperty("")
    private String param;

}
